package top.yinhe.study.javawebjdbc.entity;

public class TbNews {
    private Integer id;
    private String title;
    private String connent;
    private Integer publishdate;

    @Override
    public String toString() {
        return "TbNews{" +
                "id=" + id +
                ", title='" + title + '\'' +
                ", connent='" + connent + '\'' +
                ", publishdate=" + publishdate +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getConnent() {
        return connent;
    }

    public void setConnent(String connent) {
        this.connent = connent;
    }

    public Integer getPublishdate() {
        return publishdate;
    }

    public void setPublishdate(Integer publishdate) {
        this.publishdate = publishdate;
    }
}
